package com.hnkywl.sts.entity.flow;

import com.hnkywl.sts.entity.BaseEntity;
import org.hibernate.annotations.Where;

import javax.persistence.*;

/**
 * Created with IntelliJ IDEA.
 * User: jerry
 * Date: 13-5-8
 * Time: 下午4:36
 * To change this template use File | Settings | File Templates.
 */
@Entity
@Table(name = "T_BIZ_LCHJ")
@Where(clause = "deleted!='1'")
public class FlowTask extends BaseEntity {
    @Id
    @SequenceGenerator(name = "seqFlowTask", allocationSize = 1, sequenceName = "SEQ_BIZ_LCHJ")
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "seqFlowTask")
    private Long id;

    private String flowName;

    private String taskName;

    private Long bmId;

    private Long gsId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getFlowName() {
        return flowName;
    }

    public void setFlowName(String flowName) {
        this.flowName = flowName;
    }

    public Long getBmId() {
        return bmId;
    }

    public void setBmId(Long bmId) {
        this.bmId = bmId;
    }

    public Long getGsId() {
        return gsId;
    }

    public void setGsId(Long gsId) {
        this.gsId = gsId;
    }
}
